TEX 3 Programming Language — a proposed system for TEX macro programming

نویسندگان

  • David Carlisle
  • Chris Rowley
  • Frank Mittelbach
چکیده

This paper gives s brief introduction to a new set of programming conventions that have been designed to meet the requirements of implementing large scale TEX macro programming projects such as LATEX. The main features of the system described are: • classification of the macros (or, in LATEX terminology, commands) into LATEX functions and LATEX parameters, and also into modules containing related commands; • a systematic naming scheme based on these classifications; • a simple mechanism for controlling the expansion of a function’s arguments. A system such as this is being used experimentally as the basis for TEX programming within the LATEX3 project. Note that the language is not intended for either document mark-up or style specification. This paper is based on a talk given by David Carlisle in San Francisco, July 1997, but it describes the work of several people: principally Frank Mittelbach and Denys Duchier, together with Johannes Braams, David Carlisle, Michael Downes, Alan Jeffrey, Chris Rowley and Rainer Schöpf.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Star TEX: The Next Generation

While TEX is unanimously praised for its typesetting capabilities, it is also regularly blamed for its poor programmatic offerings. A macro-expansion system is indeed far from the best choice in terms of generalpurpose programming. Several solutions have been proposed to modernize TEX on the programming side. All of them currently involve a heterogeneous approach in which TEX is mixed with a fu...

متن کامل

Featherweight TeX and Parser Correctness

TEX (and its LTEX incarnation) is a widely used document preparation system for technical and scientific documents. At the same time, TEX is also an unusual programming language with a quite powerful macro system. Despite the wide range of TEX users (especially in the scientific community), and despite a widely perceived considerable level of “pain” in using TEX, there is almost no research on ...

متن کامل

The Ean Barcodes by T E X

In this article, we describe the algorithm for the transformation from the EAN 13 code (13-digit number) to the barcode (the sequence of bars and spaces) and we show the implementation of this algorithm to the macro language of TEX. The drawing of the bars is realized by the TEX primitive \vrule. Some data from the standard for the EAN barcodes (tolerances and so on) are presented too. The corr...

متن کامل

Sorting withm TEX

It is shown how sorting -numbers and lexicographic can be done completely within TEX. Lexicographic sorting allows words with ligatures and diacritical marks. As applications I selected sorting of address labels, and sorting and compressing i ndex . tex, Knuth's index reminders file. It is claimed that a set can be sorted within TEX once the ordering of the set is defined and encoded in a compa...

متن کامل

Object - Oriented Programming , Descriptive Markup , and TEX Arthur

I describe a synthesis withn TEX of descriptive markup and object-oriented programming. An underlying formatting system may use a number of different collections of user-level markup, such as LATEX or SGML. I give an extension of WX's markup scheme that more effectively addresses the needs of a production environment. The implementation of such a system benefits from the use of the model of obj...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1998